package com.example.flower_shop.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "用户登录请求对象")
public class UserLogReqVO {

    @Schema(description = "用户名", example = "admin1", required = true)
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "密码", example = "admin", required = true)
    @NotBlank(message = "密码不能为空")
    private String password;

    @Schema(description = "登录类型", example = "admin", required = true)
    private String loginType;
}
